package com.ukao.steward.bean;

import com.ukao.steward.util.CheckUtils;

import java.util.List;

/**
 * Created by ukaodev on 2017/9/13.
 */

public class EnterFactoryBean  extends  BaseBean<EnterFactoryBean> {



        /**
         * pageNum : 1
         * pageSize : 6
         * size : 6
         * orderBy : null
         * startRow : 1
         * endRow : 6
         * total : 11
         * pages : 2
         * list : [{"logisticsWorkTime":1501758296000,"code":"28750366","productCnt":0,"storeName":"友靠麓云店","id":46,"annexCnt":0},{"logisticsWorkTime":1501758296000,"code":"79064658","productCnt":0,"storeName":"友靠麓云店","id":47,"annexCnt":0},{"logisticsWorkTime":1501758296000,"code":"94658766","productCnt":0,"storeName":"友靠麓云店","id":48,"annexCnt":0},{"logisticsWorkTime":1501758296000,"code":"84332385","productCnt":0,"storeName":"友靠麓云店","id":52,"annexCnt":0},{"logisticsWorkTime":1501758296000,"code":"71916066","productCnt":0,"storeName":"友靠麓云店","id":55,"annexCnt":0},{"logisticsWorkTime":null,"code":"24756093","productCnt":0,"storeName":"友靠麓云店","id":22,"annexCnt":0}]
         * firstPage : 1
         * prePage : 0
         * nextPage : 2
         * lastPage : 2
         * isFirstPage : true
         * isLastPage : false
         * hasPreviousPage : false
         * hasNextPage : true
         * navigatePages : 8
         * navigatepageNums : [1,2]
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private Object orderBy;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getOrderBy() {
            return orderBy;
        }

        public void setOrderBy(Object orderBy) {
            this.orderBy = orderBy;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * logisticsWorkTime : 1501758296000
             * code : 28750366
             * productCnt : 0
             * storeName : 友靠麓云店
             * id : 46
             * annexCnt : 0
             */
            private  String    transNo;
            private  String           factoryTransNo;
           private long storeWorkTime;
            private   String  storeTel;/*手机号*/
            private   String  factoryName;
            private long logisticsWorkTime;
            private  long  factoryWorkTime;
            private String code;
            private int productCnt;
            private int id;
            private  long   createTime;
            private   long  takeTime;
            private String       orderNo ;//订单编号
            private int annexCnt;
            private String storeName;

            private long reachTime;


            public String getTransNo() {
                return CheckUtils.isEmptyString(transNo);
            }

            public String getFactoryTransNo() {
                return CheckUtils.isEmptyString(factoryTransNo);
            }

            public long getTakeTime() {
                return takeTime;
            }

            public long getReachTime() {
                return reachTime;
            }

            public long getCreateTime() {
                return createTime;
            }



            public String getOrderNo() {
                return orderNo;
            }

            public long getStoreWorkTime() {
                return storeWorkTime;
            }

            public long getFactoryWorkTime() {
                return factoryWorkTime;
            }

            public long getLogisticsWorkTime() {
                return logisticsWorkTime;
            }

            public void setLogisticsWorkTime(long logisticsWorkTime) {
                this.logisticsWorkTime = logisticsWorkTime;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public int getProductCnt() {
                return productCnt;
            }

            public void setProductCnt(int productCnt) {
                this.productCnt = productCnt;
            }

            public String getStoreName() {
                return storeName;
            }

            public void setStoreName(String storeName) {
                this.storeName = storeName;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getAnnexCnt() {
                return annexCnt;
            }

            public void setAnnexCnt(int annexCnt) {
                this.annexCnt = annexCnt;
            }

            public String getStoreTel() {
                return storeTel;
            }

            public String getFactoryName() {
                return factoryName;
            }
        }

}
